<h1>備品</h1>
<hr noshade size="1" />

  <div class="row">
    <div class="span8" id="sidebar">
    <h2>予約可能備品一覧</h2>
      <div id="contentLeft">

<table class="table table-striped table-borderd">
<thead>
<tr>
  <th>Id</th>
  <th>Equipmentname</th>
  <th>Content</th>
  <th>Photo</th>
  <th>Category</th>
  <th>Place</th>
  <th>State</th>
  <th>Keeper</th>
  <th>Reservation</th>
  <th>Created_at</th>
</tr>
</thead>
<tbody>
<?php $categorys = sfConfig::get("app_equipment_categorys")?>

<?php foreach ($equipments as $equipment):?>
<tr>
  <td><?php echo $equipment->getID()?></td>
  <td><?php echo $equipment->getEquipmentname()?></td>
  <td><?php echo $equipment->getContent()?></td>
  <td><?php echo $equipment->getPhoto()?></td>
  <td><?php echo isset($categorys[$equipment->getCategoryId()])?></td>
  <td><?php echo $equipment->getPlace()?></td>
  <td><?php echo $equipment->getState()?></td>
  <td><?php echo $equipment->getKeeper()?></td>
  <td><?php echo $equipment->getReservationYn()?></td>
  <td><?php echo $equipment->getCreatedAt()?></td>
</tr>
<?php endforeach;?>
</tbody>
</table>

      </div><!-- /contentLeft -->
    </div><!-- /sidebar -->

    <div class="span4" id="main">
    <h2>予約</h2>
      <div id="contentRight">
        <div class="tabbable">

        ここに予約フォームがくる

      </div><!-- /contentLeft -->
    </div><!-- /sidebar -->
      </div><!-- /contentRight -->
    </div><!-- /main -->

  </div><!-- /row -->